﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .style3
        {
            width: 132px;
        }
        .style6
        {
            width: 29px;
        }
        .style7
        {
            width: 29px;
            height: 23px;
        }
        .style10
        {
            width: 132px;
            height: 23px;
        }
        .style11
        {
            width: 7px;
        }
        .style12
        {
            width: 7px;
            height: 23px;
        }
        .style13
        {
            height: 23px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" onload="UpdatePanel1_Load">
        <ContentTemplate>
            <asp:TextBox ID="TextBox1" runat="server" ReadOnly="True" Width="165px">0</asp:TextBox>
            <asp:Button ID="Button16" runat="server" onclick="Button16_Click" Text="AC" 
                Width="50px" />
            <asp:Label ID="Label1" runat="server" Text="Label" Visible="False"></asp:Label>
            <asp:Label ID="Label2" runat="server" Text="Label" Visible="False"></asp:Label>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="TextBox1" />
        </Triggers>
    </asp:UpdatePanel>
    <table align="left" style="width: 16%; margin-right: 0px; text-align: center;">
        <tr>
            <td class="style6">
                <asp:Button ID="Button7" runat="server" onclick="Button_Click" Text="7" 
                    Width="50px" />
            </td>
            <td class="style11">
                <asp:Button ID="Button8" runat="server" onclick="Button_Click" Text="8" 
                    Width="50px" />
            </td>
            <td>
                <asp:Button ID="Button9" runat="server" onclick="Button_Click" Text="9" 
                    Width="50px" />
            </td>
            <td class="style3">
                <asp:Button ID="Button12" runat="server" onclick="ButtonAction_Click" Text="+" 
                    Width="50px" />
            </td>
        </tr>
        <tr>
            <td class="style7">
                <asp:Button ID="Button4" runat="server" onclick="Button_Click" Text="4" 
                    Width="50px" />
            </td>
            <td class="style12">
                <asp:Button ID="Button5" runat="server" onclick="Button_Click" Text="5" 
                    Width="50px" />
            </td>
            <td class="style13">
                <asp:Button ID="Button6" runat="server" onclick="Button_Click" Text="6" 
                    Width="50px" />
            </td>
            <td class="style10">
                <asp:Button ID="Button13" runat="server" onclick="ButtonAction_Click" Text="-" 
                    Width="50px" />
            </td>
        </tr>
        <tr>
            <td class="style6">
                <asp:Button ID="Button1" runat="server" onclick="Button_Click" Text="1" 
                    Width="50px" />
            </td>
            <td class="style11">
                <asp:Button ID="Button2" runat="server" onclick="Button_Click" Text="2" 
                    Width="50px" />
            </td>
            <td>
                <asp:Button ID="Button3" runat="server" onclick="Button_Click" Text="3" 
                    Width="50px" />
            </td>
            <td class="style3">
                <asp:Button ID="Button14" runat="server" onclick="ButtonAction_Click" Text="x" 
                    Width="50px" />
            </td>
        </tr>
        <tr>
            <td class="style6">
                <asp:Button ID="Button10" runat="server" onclick="Button10_Click" Text="+ / -" 
                    Width="50px" />
            </td>
            <td class="style11">
                <asp:Button ID="Button0" runat="server" onclick="Button_Click" Text="0" 
                    Width="50px" />
            </td>
            <td>
                <asp:Button ID="Button11" runat="server" onclick="Button11_Click" Text="=" 
                    Width="50px" />
            </td>
            <td class="style3">
                <asp:Button ID="Button15" runat="server" onclick="ButtonAction_Click" Text="/" 
                    Width="50px" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>

